package pl.com.mol.eatool.model.eamodel.eatype;

import pl.com.mol.eatool.model.eamodel.EAAttribute;

import java.util.HashSet;
import java.util.Set;

/**
 * Created by mol1 on 28.06.14.
 */
public class EAComplexType extends EAType {

    /**
     * Attribute list.
     */
    private Set<EAAttribute> attributes = new HashSet<>();

    /**
     * Base complex type;
     */
    private EAComplexType baseType;

    public Set<EAAttribute> getAttributes() {
        return attributes;
    }

    public void setAttributes(Set<EAAttribute> attributes) {
        this.attributes = attributes;
    }

    public EAComplexType getBaseType() {
        return baseType;
    }

    public void setBaseType(EAComplexType baseType) {
        this.baseType = baseType;
    }
}
